home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / Other Langs / Tickle-4.0 (tcl) / library / help / tcl / files / puts < prev    next >
Encoding:
Text File  |  1993-10-26  |  808 b   |  20 lines  |  [TEXT/$Tcl]

  1.  
  2.           puts ?-nonewline? ?fileId? string
  3.  
  4.  
  5.      DESCRIPTION
  6.           Writes the characters given by string to the file  given  by
  7.           fileId.   FileId must have been the return value from a pre-
  8.           vious call to open, or it may be stdout or stderr  to  refer
  9.           to one of the standard I/O channels; it must refer to a file
  10.           that was opened for writing.  If no fileId is specified then
  11.           it  defaults  to  stdout.   Puts  normally outputs a newline
  12.           character after string, but this feature may  be  suppressed
  13.           by  specifying  the  -nonewline  switch.  Output to files is
  14.           buffered internally by Tcl; the flush command may be used to
  15.           force buffered characters to be output.
  16.  
  17.  
  18.      KEYWORDS
  19.           file, newline, output, write
  20.